projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da49dae
)
demos: No need to set the rgb colormap here
author
Benjamin Otte
<otte@redhat.com>
Tue, 13 Jul 2010 15:14:14 +0000
(17:14 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 26 Jul 2010 14:42:48 +0000
(16:42 +0200)
demos/testpixbuf-color.c
patch
|
blob
|
history
diff --git
a/demos/testpixbuf-color.c
b/demos/testpixbuf-color.c
index 78fa93928972b88f2cdd0845a362a839961b4f51..003f33384974ea68842002568f650c4e0efe62cf 100644
(file)
--- a/
demos/testpixbuf-color.c
+++ b/
demos/testpixbuf-color.c
@@
-111,8
+111,6
@@
main (int argc, char **argv)
gtk_init (&argc, &argv);
- gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
-
root = gdk_get_default_root_window ();
pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
0, 0, 0, 0, 150, 160);